-
Home
-
PDF Invoices & Packing Slips for WooCommerce
-
3.8.8
-
Code
-
Classes
- Updraft_Semaphore_3_0
Total Complexity |
44 |
Dependencies |
2 |
Dependents |
4 |
Total lines |
372 |
Lines of code |
154 |
Logical lines of code |
88 |
Comment lines |
150 |
Methods |
16 |
Properties |
9 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
lock() |
A |
47 |
8 |
35 |
log() |
S |
60 |
6 |
13 |
get_cleanup_action() |
S |
57 |
4 |
17 |
ensure_database_initialised() |
S |
56 |
4 |
16 |
__construct() |
S |
65 |
5 |
7 |
release() |
S |
61 |
2 |
11 |
count_released_locks() |
S |
62 |
2 |
11 |
set_loggers() |
S |
71 |
2 |
6 |
cleanup_released_locks() |
S |
64 |
2 |
10 |
is_cleanup_scheduled() |
S |
78 |
2 |
3 |
schedule_semaphore_cleanup() |
S |
69 |
2 |
6 |
delete() |
S |
69 |
1 |
6 |
add_logger() |
S |
80 |
1 |
3 |
get_loggers() |
S |
82 |
1 |
3 |
get_cleanup_hook_name() |
S |
80 |
1 |
3 |
init_cleanup() |
S |
75 |
1 |
4 |